<?php
/**
 * Created by PhpStorm.
 * User: zhan
 * Date: 2019/1/18  14:41
 */
namespace app\api\controller;

class Lineorder extends Base
{
    //检查权限作用域
    protected $beforeActionList = [
        'checkPrimaryScope' => [
            'except' => 'except'
        ]
    ];

    /*
     * 线路订单
     */
    public function Orderlist()
    {
        $result =  (new \app\api\logic\Lineorder())->Orderlist();
        return $this->ajaxReturn($result);
    }

    public function orderInfo()
    {
        $result =  (new \app\api\logic\Lineorder())->orderInfo();
        return $this->ajaxReturn($result);
    }

    public function resetDriver()
    {
        $result =  (new \app\api\logic\Lineorder())->resetDriver();
        return $this->ajaxReturn($result);
    }

    public function getBeatRoute()
    {
        $result =  (new \app\api\logic\Lineorder())->getBeatRoute();
        return $this->ajaxReturn($result);
    }
}



